.el-table th>.cell {
  .el-checkbox {
    margin-left: 4px;
  }
}

.el-pagination__sizes {
  margin-right: 0 !important;
}

.el-tree-node__label {
  font-size: 12px !important;
}

.form-container {
  width: 80%;
  margin: 0 auto;
}

.el-button {
  a {
    color: #606266 !important;
  }
}

/*滚动条样式*/
::-webkit-scrollbar {
  width: 5px;
  height: 12px;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.1);
}

.el-table th {
  padding: 6px 0;
  color: #333;

  div {
    font-weight: bold !important
  }
}

//解决错位以及底部滚动条遮挡
.m-block-view--table-cont1 {
  .el-table__body-wrapper {
    &::-webkit-scrollbar {
      // 滚动条高 解决行未对齐
      height: 12px;
    }
  }

  .el-table__fixed-body-wrapper .el-table__body {
    padding-bottom: 12px; // 滚动条高度
  }

  .el-table__fixed,
  .el-table__fixed-right {
    height: calc(100% - 11px) !important;
  }

  // 当表格没有滚动条时
  .el-table__body-wrapper.is-scrolling-none~.el-table__fixed-right,
  .el-table__body-wrapper.is-scrolling-none~.el-table__fixed {
    height: 100% !important;
    bottom: 0 !important;
  }

  // 当表格有纵向滚动条时
  .el-table--scrollable-y .el-table__fixed-right {
    right: 5px !important;
  }

  // 当表格只有横向滚动条，没有纵向滚动条时
  .el-table--scrollable-x:not(.el-table--scrollable-y) .el-table__fixed-right {
    right: 0 !important;
  }

  // 当表格只有纵向滚动条，没有横向滚动条时
  .el-table--scrollable-y:not(.el-table--scrollable-x) .el-table__fixed-right {
    right: 5px !important;
    height: 100% !important;
  }

  .el-button--small {
    &.el-button--text {
      padding: 4px 0
    }
  }
}

//解决错位以及底部滚动条遮挡


.el-image__error {
  font-size: 12px !important;
}

/* 列表表格样式 */
.m-card {
  background: #fff;
  border-radius: 4px;
  padding: 0 16px;
  margin-bottom: 10px;
  box-shadow: 0 2px 3px #ddd;
}

/* 列表表格样式 */
.m-card-view {
  background: #fff;
  border-radius: 4px;
  padding: 0 15px;
  padding-bottom: 1px;
  padding-top: 20px;
  margin-bottom: 10px;
  box-shadow: 0 2px 3px #ddd;

  .btn-list {
    margin-bottom: 20px;
  }
}

.m-list-table {
  .list-title {
    line-height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;

    .right {
      display: flex;
      align-items: center;
    }
  }
}

.thumbImage {
  background: #f5f5f5;
  width: 100px;
  height: 100px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid #eee;
}

.el-form-item {
  min-width: 300px;
  margin-bottom: 12px !important
}

.el-form .el-form-item.is-error {
  margin-bottom: 22px !important
}

.pd-bottom10 {
  padding-bottom: 10px;
}

.pd-10 {
  padding: 10px;
}

.pd-tb-10 {
  padding-top: 10px;
  padding-bottom: 10px;
}

.el-popconfirm .el-popconfirm__main {
  padding: 1em 0 !important;
}

.el-table__row .is-right .el-button {
  margin-right: 5px;
}

.flex {
  display: flex;
}

@page {
  margin: 0;
}

.el-input.is-disabled .el-input__inner {
  color: #333 !important;
}

#print {
  width: 794px;
  background: #fff;
  padding: 20px;
  padding-top: 10px;
  box-sizing: border-box;
  position: relative;
}

@media print {
  @page {
    /* 纵向打印 */
    size: portrait;

    /* 横向打印 */
    // size: landscape;

    /* 去掉页眉页脚*/
    margin-top: 6;
  }

  #print {
    transform-origin: 0 0;
    transform: scale(1.24);

    * {
      border-width: 0.5px;
    }
  }
}

.form-message {
  font-size: 12px;
  color: #999;
  margin: 0;
}

.right-box {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.el-dialog__body {
  padding: 20px !important;
}

.ep1 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  cursor: pointer;
}

.high-light {
  color: #409EFF;
}

.el-table .el-button+.el-button {
  margin-left: 0 !important
}
